package com.gxa.modules.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.Date;
/** 
 * @team mackie Studio 
 * @Author kk 
 * @Date 2023-03-17 20:15:21 
 */
@Entity
@Data
@TableName("crm_documentary" )
public class CrmDocumentary  implements Serializable {

	private static final long serialVersionUID =  1249750431274499249L;

	@Id
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 客户名称（公司）
	 */
   	@TableField("customer_id" )
	private Long customerId;

	/**
	 * 跟单方式
	 */
   	@TableField("documentary_mode_id" )
	private Long documentaryModeId;

	/**
	 * 跟单状态
	 */
   	@TableField("documentary_status_id" )
	private Long documentaryStatusId;

	/**
	 * 业务员（跟单人）
	 */
   	@TableField("employee_id" )
	private Integer employeeId;

	/**
	 * 客户实际联系人(负责人)（跟单对象）
	 */
   	@TableField("customer_people_id" )
	private Integer customerPeopleId;

	/**
	 * 跟单提示
	 */
   	@TableField("documentary _prompt_id" )
	private Long documentary_PromptId;

	/**
	 * 下次联系时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("next_contact_time" )
	private Date nextContactTime;

	/**
	 * 备注
	 */
   	@TableField("remarks" )
	private String remarks;

	/**
	 * 跟单时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("documentary_time" )
	private Date documentaryTime;

	/**
	 * 附件
	 */
   	@TableField("attachment" )
	private String attachment;

	/**
	 * 跟单编号
	 */
   	@TableField("number" )
	private String number;
}
